package proxy.cglib;

/**
 * @author keithwang
 * @description
 * @date 2021/11/24 下午7:58
 */
public class CglibProxyTest {

    public static void main(String[] args) {
        Tony tony = (Tony) new Agent().getInstance(Tony.class);
        System.out.println(tony.getClass().getName());
        tony.findHouse();
    }

}
